package edu.biwu.test;

import edu.biwu.sms.StudentManagementSystem02;
import org.junit.Test;

import java.io.IOException;

public class SMSTest04 {
    private StudentManagementSystem02 sms = new StudentManagementSystem02();

    @Test
    public void loadStudentsFromFile() throws IOException {
        sms.loadStudentsFromFile("/小学生信息01.txt");
        sms.showAllStudnet();
    }

    @Test
    public void loadStudentsFromFile02() throws IOException {
        sms.loadStudentsFromFile("/中学生信息01.txt");
        sms.showAllStudnet();
    }
}